//
//  MBProgressHUD+YC.h
//  PropertyApp
//
//  Created by nnbh on 16/2/14.
//  Copyright © 2016年 yecai. All rights reserved.
//

#import "MBProgressHUD.h"

@interface MBProgressHUD (YC)

+ (void)showSuccess:(NSString *)success toView:(UIView *)view time:(double)time;

+ (void)showError:(NSString *)error toView:(UIView *)view time:(double)time;

+ (MBProgressHUD *)showMessage:(NSString *)message toView:(UIView *)view;


+ (void)showSuccess:(NSString *)success time:(double)time;
+ (void)showError:(NSString *)error time:(double)time;

+ (MBProgressHUD *)showMessage:(NSString *)message;

+ (void)hideHUDForView:(UIView *)view;
+ (void)hideHUD;
+ (void)shownews:(NSString *)news time:(double)time;
@end
